package com.gkzf.ai.module.crm.controller.admin.simpleCredit.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - CRM 简版征信报告贷款明细新增/修改 Request VO")
@Data
public class CreditReportSimpleLoanSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "9023")
    private Long id;

    @Schema(description = "简版征信报告Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "979")
    @NotNull(message = "简版征信报告Id不能为空")
    private Long creditReportSimpleId;

    @Schema(description = "逾期类型  1：未逾期  2：逾期", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "逾期类型  1：未逾期  2：逾期不能为空")
    private Integer overdueType;

    @Schema(description = "开立日期")
    private String openDate;

    @Schema(description = "到期时间")
    private String dueDate;

    @Schema(description = "账户状态", example = "2")
    private String accountStatus;

    @Schema(description = "机构名称", example = "赵六")
    private String institutionName;

    @Schema(description = "贷款金额")
    private BigDecimal totalAmount;

    @Schema(description = "业务种类")
    private String businessTypes;

    @Schema(description = "余额")
    private BigDecimal balance;

    @Schema(description = "已用额度")
    private BigDecimal usedQuota;

    @Schema(description = "是否逾期")
    private String isOverdue;

    @Schema(description = "5年逾期")
    private String fiveYearsOverdue;

    @Schema(description = "逾期90天以上")
    private String numberDayOverdue;

}